<template>
	<!-- <view>
		支付成功
	</view> -->
	<view class="box">
		<view class="head">
			订单支付成功
		</view>
		<view class="content">
			支付金额:{{pay}}元
		</view>
		<view class="btn">
			<view @tap="gomine">个人中心</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pay:0,
			};
		},
		onLoad(e){
			this.pay=e.price;
		},
		methods:{
			gomine(){
				uni.switchTab({
					url:"../../../../../mine/mine"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.box{
	width: 100%;
	height: 100vh;
	background-color:#F1ECE7;
	overflow: hidden;
	// display: flex;
	// justify-content: center;
	// padding-bottom: 15px;
	.head{
		margin-top: 100px;
		width: 100%;
		font-size: 24px;
		text-align: center;
	}
	.content{
		width: 100%;
		margin-top: 5px;
		font-size: 16px;
		text-align: center;
	}
	.btn{
		position: absolute;
		bottom: 40px;
		width: 100%;
		display: flex;
		view{
			padding: 0 25px;
		    height: 35px;
		    border: solid 1px #354e44;
		    color: #354e44;
			border-radius: 5px;
			font-size: 17px;
			margin: 0 auto;
			line-height: 35px;
		}
	}
}
</style>
